#!/user/bin/env python3
# -*- coding: utf-8 -*-
"""
--------------------------------------
    Author:     JiChao_Song
    Date  :     2022/1/18 19:55
    Desc  :
--------------------------------------
"""
from django.conf.urls import url
from django.urls import path

from person.views.case.module import *
from person.views.case.case import *

urlpatterns = [
    # 用例基础操作接口
    url('base/add', CaseBaseAddAPIView.as_view()),
    url('base/list', CaseBaseListAPIView.as_view()),
    url('base/check', CaseBaseImportCheckAPIView.as_view()),
    url('base/import', CaseBaseImportAPIView.as_view()),
    url('base/upload', CaseImportFileUpload.as_view()),
    url('base/template', CaseBaseImportTemplateAPIView.as_view()),

    # 用例模块相关
    url('module/add', CaseModuleAddAPIView.as_view()),
    url('module/edit', CaseModuleEditAPIView.as_view()),
    url('module/delete', CaseModuleDeleteAPIView.as_view()),
    url('module/tree', CaseModuleTreeAPIView.as_view()),
    url('module/array', CaseModuleArrayAPIView.as_view()),
]

